package com.example.yyjgit.Impl;


import com.example.yyjgit.Entity.Building;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BuildingImpl {
    //添加建筑
    int addBuilding(String Name,String Img,String Era ,String Classify,String Region);
    //删除建筑
    int delBuilding(int id);
    //修改建筑
    int upBuilding(String Name,String Img,String Era ,String Classify,String Region,int id);
    //查询建筑
    Building getBuildingById(int id);
}
